[INFO] cloning repository https://github.com/Weshnaw/NN-From-Scratch-Rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Weshnaw/NN-From-Scratch-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWeshnaw%2FNN-From-Scratch-Rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWeshnaw%2FNN-From-Scratch-Rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2b34fa36c751a2a03b7179d64aef9997fa2c1323
[INFO] checking Weshnaw/NN-From-Scratch-Rust against master#9610dfe5a9a731ced1ea4923ecbd0c57fe367898 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWeshnaw%2FNN-From-Scratch-Rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Weshnaw/NN-From-Scratch-Rust on toolchain 9610dfe5a9a731ced1ea4923ecbd0c57fe367898
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Weshnaw/NN-From-Scratch-Rust
[INFO] finished tweaking git repo https://github.com/Weshnaw/NN-From-Scratch-Rust
[INFO] tweaked toml for git repo https://github.com/Weshnaw/NN-From-Scratch-Rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Weshnaw/NN-From-Scratch-Rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded noisy_float v0.2.0
[INFO] [stderr]   Downloaded ndarray-stats v0.5.0
[INFO] [stderr]   Downloaded tracing-subscriber v0.3.7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cebd52c9da0ad1e768e469ac290493ca12b4bb5aba2ffa4cc0abf383219b99f1
[INFO] running `Command { std: "docker" "start" "-a" "cebd52c9da0ad1e768e469ac290493ca12b4bb5aba2ffa4cc0abf383219b99f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cebd52c9da0ad1e768e469ac290493ca12b4bb5aba2ffa4cc0abf383219b99f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cebd52c9da0ad1e768e469ac290493ca12b4bb5aba2ffa4cc0abf383219b99f1", kill_on_drop: false }`
[INFO] [stdout] cebd52c9da0ad1e768e469ac290493ca12b4bb5aba2ffa4cc0abf383219b99f1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 06d63cbe02b08e991557fc0610561f18599aa8d8b1bbfe7bd766f1ca2ec454f0
[INFO] running `Command { std: "docker" "start" "-a" "06d63cbe02b08e991557fc0610561f18599aa8d8b1bbfe7bd766f1ca2ec454f0", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.112
[INFO] [stderr]    Compiling libm v0.2.1
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling cc v1.0.72
[INFO] [stderr]    Compiling pkg-config v0.3.24
[INFO] [stderr]    Compiling ucd-trie v0.1.3
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling crc32fast v1.3.0
[INFO] [stderr]    Compiling pest v2.1.3
[INFO] [stderr]    Compiling proc-macro2 v1.0.34
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.15
[INFO] [stderr]    Compiling cmake v0.1.46
[INFO] [stderr]    Compiling servo-fontconfig-sys v5.1.0
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]     Checking miniz_oxide v0.3.7
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]     Checking deflate v0.8.6
[INFO] [stderr]    Compiling syn v1.0.82
[INFO] [stderr]    Compiling semver-parser v0.10.2
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]    Compiling freetype-sys v0.13.1
[INFO] [stderr]    Compiling expat-sys v2.1.6
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking matrixmultiply v0.3.2
[INFO] [stderr]     Checking png v0.16.8
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]     Checking rand v0.8.4
[INFO] [stderr]     Checking num-integer v0.1.44
[INFO] [stderr]    Compiling semver v0.11.0
[INFO] [stderr]     Checking num-complex v0.4.0
[INFO] [stderr]    Compiling rustc_version v0.3.3
[INFO] [stderr]     Checking dirs-sys-next v0.1.2
[INFO] [stderr]     Checking tracing-core v0.1.21
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking weezl v0.1.5
[INFO] [stderr]     Checking bytemuck v1.7.2
[INFO] [stderr]     Checking plotters-backend v0.3.2
[INFO] [stderr]    Compiling pathfinder_simd v0.5.1
[INFO] [stderr]     Checking jpeg-decoder v0.1.22
[INFO] [stderr]     Checking ndarray v0.15.4
[INFO] [stderr]     Checking walkdir v2.3.2
[INFO] [stderr]     Checking servo-fontconfig v0.5.1
[INFO] [stderr]     Checking freetype v0.7.0
[INFO] [stderr]     Checking dirs-next v2.0.0
[INFO] [stderr]     Checking gif v0.11.3
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking float-ord v0.2.0
[INFO] [stderr]     Checking once_cell v1.9.0
[INFO] [stderr]     Checking itertools v0.10.3
[INFO] [stderr]     Checking thread_local v1.1.4
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking image v0.23.14
[INFO] [stderr]     Checking plotters-svg v0.3.1
[INFO] [stderr]     Checking rand_distr v0.4.2
[INFO] [stderr]     Checking tracing-log v0.1.2
[INFO] [stderr]     Checking pathfinder_geometry v0.5.1
[INFO] [stderr]     Checking noisy_float v0.2.0
[INFO] [stderr]     Checking sharded-slab v0.1.4
[INFO] [stderr]     Checking font-kit v0.10.1
[INFO] [stderr]     Checking ansi_term v0.12.1
[INFO] [stderr]     Checking smallvec v1.8.0
[INFO] [stderr]     Checking ttf-parser v0.12.3
[INFO] [stderr]     Checking pin-project-lite v0.2.8
[INFO] [stderr]     Checking tracing-subscriber v0.3.7
[INFO] [stderr]     Checking plotters-bitmap v0.3.1
[INFO] [stderr]     Checking plotters v0.3.1
[INFO] [stderr]     Checking ndarray-stats v0.5.0
[INFO] [stderr]     Checking ndarray-rand v0.14.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.18
[INFO] [stderr]     Checking tracing v0.1.29
[INFO] [stderr]     Checking nn_from_scratch v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough
[INFO] [stdout]   --> src/wlearn/model.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |         self.loss.correct_last_layer(last_layer.deref().type_id())
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `T` will meet its required lifetime bounds
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding an explicit lifetime bound...
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl<T: 'static> Model<T> {
[INFO] [stdout]    |       +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough
[INFO] [stdout]   --> src/wlearn/model.rs:77:37
[INFO] [stdout]    |
[INFO] [stdout] 77 |         if let Some(optimized_loss) = self
[INFO] [stdout]    |  _____________________________________^
[INFO] [stdout] 78 | |         .loss
[INFO] [stdout] 79 | |         .optimize_backward_with_last_layer(last_layer.deref().type_id())
[INFO] [stdout]    | |________________________________________________________________________^ ...so that the type `T` will meet its required lifetime bounds
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding an explicit lifetime bound...
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl<T: 'static> Model<T> {
[INFO] [stdout]    |       +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough
[INFO] [stdout]    --> src/wlearn/model.rs:120:5
[INFO] [stdout]     |
[INFO] [stdout] 120 |     self.loss.loss(&last_layer_result, targets)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `T` will meet its required lifetime bounds
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding an explicit lifetime bound...
[INFO] [stdout]     |
[INFO] [stdout] 18  | impl<T: 'static> Model<T> {
[INFO] [stdout]     |       +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough
[INFO] [stdout]    --> src/wlearn/model.rs:132:18
[INFO] [stdout]     |
[INFO] [stdout] 132 |     let d_loss = self.loss.d_loss(&last_layer_result, targets);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `T` will meet its required lifetime bounds
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding an explicit lifetime bound...
[INFO] [stdout]     |
[INFO] [stdout] 18  | impl<T: 'static> Model<T> {
[INFO] [stdout]     |       +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/wlearn/optimizer.rs:27:19
[INFO] [stdout]    |
[INFO] [stdout] 27 |       if let Some(mut parameters) = layer.parameters() {
[INFO] [stdout]    |                   ----^^^^^^^^^^
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough
[INFO] [stdout]   --> src/wlearn/model.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |         self.loss.correct_last_layer(last_layer.deref().type_id())
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `T` will meet its required lifetime bounds
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding an explicit lifetime bound...
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl<T: 'static> Model<T> {
[INFO] [stdout]    |       +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough
[INFO] [stdout]   --> src/wlearn/model.rs:77:37
[INFO] [stdout]    |
[INFO] [stdout] 77 |         if let Some(optimized_loss) = self
[INFO] [stdout]    |  _____________________________________^
[INFO] [stdout] 78 | |         .loss
[INFO] [stdout] 79 | |         .optimize_backward_with_last_layer(last_layer.deref().type_id())
[INFO] [stdout]    | |________________________________________________________________________^ ...so that the type `T` will meet its required lifetime bounds
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding an explicit lifetime bound...
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl<T: 'static> Model<T> {
[INFO] [stdout]    |       +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough
[INFO] [stdout]    --> src/wlearn/model.rs:120:5
[INFO] [stdout]     |
[INFO] [stdout] 120 |     self.loss.loss(&last_layer_result, targets)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `T` will meet its required lifetime bounds
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding an explicit lifetime bound...
[INFO] [stdout]     |
[INFO] [stdout] 18  | impl<T: 'static> Model<T> {
[INFO] [stdout]     |       +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough
[INFO] [stdout]    --> src/wlearn/model.rs:132:18
[INFO] [stdout]     |
[INFO] [stdout] 132 |     let d_loss = self.loss.d_loss(&last_layer_result, targets);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `T` will meet its required lifetime bounds
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding an explicit lifetime bound...
[INFO] [stdout]     |
[INFO] [stdout] 18  | impl<T: 'static> Model<T> {
[INFO] [stdout]     |       +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/wlearn/optimizer.rs:27:19
[INFO] [stdout]    |
[INFO] [stdout] 27 |       if let Some(mut parameters) = layer.parameters() {
[INFO] [stdout]    |                   ----^^^^^^^^^^
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0310`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nn_from_scratch` (bin "nn_from_scratch") due to 5 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0310`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nn_from_scratch` (bin "nn_from_scratch" test) due to 5 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "06d63cbe02b08e991557fc0610561f18599aa8d8b1bbfe7bd766f1ca2ec454f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "06d63cbe02b08e991557fc0610561f18599aa8d8b1bbfe7bd766f1ca2ec454f0", kill_on_drop: false }`
[INFO] [stdout] 06d63cbe02b08e991557fc0610561f18599aa8d8b1bbfe7bd766f1ca2ec454f0
